//
//  Booking.h
//  mUBB
//
//  Created by Cosmin Stirbu on 2/20/13.
//  Copyright (c) 2013 Cosmin Stirbu. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Teacher.h"
#import "Room.h"
#import "TypeOfClass.h"
#import "StudyGroup.h"
#import "Course.h"

@interface Booking : NSObject

// Id
@property(nonatomic, assign) NSInteger bookingId;

// Start Date
@property(nonatomic, strong) NSDate *startDate;

// End Date
@property(nonatomic, strong) NSDate *endDate;

// Teacher
@property(nonatomic, strong) Teacher *teacher;

// Room
@property(nonatomic, strong) Room *room;

// Booking Course
@property(nonatomic, strong) Course *course;

// Type of class
@property (nonatomic, strong) TypeOfClass *typeOfClass;

// NSArray of StudyGroups
@property (nonatomic, strong) NSMutableArray *studyGroups;

// Self URL
@property (nonatomic, strong) NSString *selfURL;

// Copy a booking
+ (Booking *)bookingWithBooking:(Booking *)booking;
@end
